package com.shun.entity

import com.shun.commons.IDEntity
import org.springframework.data.mongodb.core.mapping.Document
import java.util.*

/**
d by rainbow on 2017/9/19.
 *一事专注，便是动人；一生坚守，便是深邃！
 */
@Document(collection = "taskServer")
class TaskServer : IDEntity() {

    var company: Company? = null

    var machine: Machine? = null

    var question: String? = null

    var serverUser: User? = null

    //0未派发 1：已派发 2：进行中 3：已完成 -1：未完成
    var status: Int? = null

    var searchKey: String? = null

    var user: User? = null

    var time: String? = null

    var createTime: Date? = null

    //维护类型
    var type: String? = null
}